-
Notifications
You must be signed in to change notification settings - Fork 3k
Nuvoton: Fix crypto compile error with Mbed OS 2 #9191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@ccli8, thank you for your changes. |
@screamerbg Please recheck when able. |
Replace Mutex with PlatformMutex which supports RTOS-absent
a57b50f
to
39f705e
Compare
I make the following modifications:
|
@@ -19,15 +19,16 @@ | |||
#include "mbed_assert.h" | |||
#include "mbed_critical.h" | |||
#include "mbed_error.h" | |||
#if defined(MBED_CONF_RTOS_PRESENT) && MBED_CONF_RTOS_PRESENT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shall just use #if MBED_CONF_RTOS_PRESENT
, we consolidated recently drivers to use this as well (no toolchain should warn if not defined, should be set to 0).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@screamerbg Would you mind retesting the bootloader project? Will run CI in the meantime since this appears to be ready. |
CI started |
We stopped the test as 5.11.1 rc needs to be completed first, will restart as soon as it completes |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
CI restarted |
Description
This PR tries to fix #9081 which causes crypto compile error with Mbed OS 2 for Nuvoton targets.
Related PR or issue
#9081
#9190
Related targets
Pull request type
Reviewers